package gdut.imis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import gdut.imis.domain.FileWritePermissionApplication;
import gdut.imis.vo.FileWritePermissionApplicationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @Author JiaFu
 * @Date 2023/4/7 22:32
 */
public interface FileWritePermissionApplicationMapper extends BaseMapper<FileWritePermissionApplication> {
    List<FileWritePermissionApplicationVo> getFileWritePermissionApplyResult(@Param("userId") Long id);

    Page<FileWritePermissionApplicationVo> getPageFileWritePermission(@Param("universityId") Long universityId, @Param("page") Page<FileWritePermissionApplicationVo> page);
}
